package com.xdb.sqlparser.dialect.mysql.ast.statement;

import com.xdb.sqlparser.ast.SQLExpr;
import com.xdb.sqlparser.ast.statement.SQLColumnDefinition;

public class MySqlSQLColumnDefinition extends SQLColumnDefinition {

	private boolean autoIncrement = false;

	private SQLExpr onUpdate;

	private SQLExpr storage;

	public MySqlSQLColumnDefinition() {

	}

	public boolean isAutoIncrement() {
		return autoIncrement;
	}

	public void setAutoIncrement(boolean autoIncrement) {
		this.autoIncrement = autoIncrement;
	}

	public SQLExpr getOnUpdate() {
		return onUpdate;
	}

	public void setOnUpdate(SQLExpr onUpdate) {
		this.onUpdate = onUpdate;
	}

	public SQLExpr getStorage() {
		return storage;
	}

	public void setStorage(SQLExpr storage) {
		this.storage = storage;
	}
}
